load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "ec2rolecreds",
    srcs = ["ec2_role_provider.go"],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
    importpath = "github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/aws/aws-sdk-go/aws",
        "//vendor/github.com/aws/aws-sdk-go/aws/awserr",
        "//vendor/github.com/aws/aws-sdk-go/aws/client",
        "//vendor/github.com/aws/aws-sdk-go/aws/credentials",
        "//vendor/github.com/aws/aws-sdk-go/aws/ec2metadata",
        "//vendor/github.com/aws/aws-sdk-go/aws/request",
        "//vendor/github.com/aws/aws-sdk-go/internal/sdkuri",
    ],
)
